package com.heima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

@MapperScan("com.heima.mapper")   //通用mapper
@SpringBootApplication
@EnableDiscoveryClient  //开启eureka客户端发现功能
public class UserApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(UserApplication.class, args);
    }
}
